<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: lzy
  Date: 2018/8/15
  Time: 12:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Login</title>
</head>
<body>
<div style="color:red;">
    <c:if test="${requestScope.message!=null}">
        <c:out value="${requestScope.message}"/>
    </c:if>
</div>

<form action="${pageContext.request.contextPath}/filter/loginsuccess.jsp" method="post">
    <table>
        <tr>
            <td>用户名:</td>
            <td><input type="text" name="name"> </td>
        </tr>
        <tr>
            <td>密码</td>
            <td><input type="password" name="password"></td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="Submit">
            </td>
        </tr>
    </table>
</form>
</body>
</html>
